#include "common.h"

layout(location = TEXCOORD0) in vec2 	tc0;	// base
layout(location = COLOR0) in vec3		c0;		// sun

layout(location = COLOR0) out vec4	color;

//////////////////////////////////////////////////////////////////////////////////////////
// Pixel
void main()
{
	float4	t_base 	= tex2D	(s_base,tc0);

	float3	light	= c0;
	float3	final 	= light*t_base.rgb*2;

	// out
	color			= float4(final.r,final.g,final.b,t_base.a);
}
